local t = Def.ActorFrame {};
-- Taps
t[#t+1] = LoadFont("_celestia 20px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;queuecommand,"Set");
		  OnCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
		  	self:diffuse(ColorLightTone(PlayerColor(PLAYER_1)));
			self:settext("TROTS");
		  end;
};

-- Holds
t[#t+1] = LoadFont("_celestia 20px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;addy,20;queuecommand,"Set");
		  OnCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
			self:diffuse(ColorLightTone(PlayerColor(PLAYER_1)));
			self:settext("HOLDS");
		  end;
};

-- Jumps
t[#t+1] = LoadFont("_celestia 20px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;addy,40;queuecommand,"Set");
		  OnCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
			self:diffuse(ColorLightTone(PlayerColor(PLAYER_1)));
			self:settext("JUMPS");
		  end;
};

-- Hands
t[#t+1] = LoadFont("_celestia 20px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;addy,60;queuecommand,"Set");
		  OnCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
		  	self:diffuse(ColorLightTone(PlayerColor(PLAYER_1)));
			self:settext("MINES");
		  end;
};


t[#t+1] = LoadFont("_troika 24px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;addx,50);
		  OnCommand=cmd(queuecommand,"Transition";);
          CurrentStepsP1ChangedMessageCommand=cmd(finishtweening;queuecommand,"Set";); 
		  TransitionCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
		  PlayerJoinedMessageCommand=cmd(queuecommand,"Set";diffusealpha,0;smooth,0.3;diffusealpha,1;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
			stepsP1 = GAMESTATE:GetCurrentSteps(PLAYER_1)
			local song = GAMESTATE:GetCurrentSong();
			if song then 
				if stepsP1 ~= nil then
					local Getp1Radar = GAMESTATE:GetCurrentSteps(PLAYER_1):GetRadarValues(PLAYER_1);
					local P1Taps = Getp1Radar:GetValue('RadarCategory_TapsAndHolds')+Getp1Radar:GetValue('RadarCategory_Jumps')+Getp1Radar:GetValue('RadarCategory_Hands');
					self:settext(P1Taps);
				else
					self:settext("")
				end
			else
				self:settext("")
			end
         end
};

t[#t+1] = LoadFont("_troika 24px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;addx,50;addy,20;);
		  OnCommand=cmd(queuecommand,"Transition";);
          CurrentStepsP1ChangedMessageCommand=cmd(finishtweening;queuecommand,"Set";); 
		  TransitionCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
		  PlayerJoinedMessageCommand=cmd(queuecommand,"Set";diffusealpha,0;smooth,0.3;diffusealpha,1;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
			stepsP1 = GAMESTATE:GetCurrentSteps(PLAYER_1)
			local song = GAMESTATE:GetCurrentSong();
			if song then 
				if stepsP1 ~= nil then
					local Getp1Radar = GAMESTATE:GetCurrentSteps(PLAYER_1):GetRadarValues(PLAYER_1);
					local P1Holds = Getp1Radar:GetValue('RadarCategory_Holds');
					self:settext(P1Holds);
				else
					self:settext("")
				end
			else
				self:settext("")
			end
         end
};

t[#t+1] = LoadFont("_troika 24px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;addx,50;addy,40;);
		  OnCommand=cmd(queuecommand,"Transition";);
          CurrentStepsP1ChangedMessageCommand=cmd(finishtweening;queuecommand,"Set";); 
		  TransitionCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
		  PlayerJoinedMessageCommand=cmd(queuecommand,"Set";diffusealpha,0;smooth,0.3;diffusealpha,1;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
			stepsP1 = GAMESTATE:GetCurrentSteps(PLAYER_1)
			local song = GAMESTATE:GetCurrentSong();
			if song then 
				if stepsP1 ~= nil then
					local Getp1Radar = GAMESTATE:GetCurrentSteps(PLAYER_1):GetRadarValues(PLAYER_1);
					local P1Holds = Getp1Radar:GetValue('RadarCategory_Jumps');
					self:settext(P1Holds);
				else
					self:settext("")
				end
			else
				self:settext("")
			end
         end
};

t[#t+1] = LoadFont("_troika 24px") .. { 
		  InitCommand=cmd(horizalign,right;zoom,0.75;addx,50;addy,60);
		  OnCommand=cmd(queuecommand,"Transition";);
          CurrentStepsP1ChangedMessageCommand=cmd(finishtweening;queuecommand,"Set";); 
		  TransitionCommand=cmd(diffusealpha,0;addy,-3;smooth,0.2;diffusealpha,1;addy,3;);
		  PlayerJoinedMessageCommand=cmd(queuecommand,"Set";diffusealpha,0;smooth,0.3;diffusealpha,1;);
          ChangedLanguageDisplayMessageCommand=cmd(queuecommand,"Set"); 
          SetCommand=function(self)
			stepsP1 = GAMESTATE:GetCurrentSteps(PLAYER_1)
			local song = GAMESTATE:GetCurrentSong();
			if song then 
				if stepsP1 ~= nil then
					local Getp1Radar = GAMESTATE:GetCurrentSteps(PLAYER_1):GetRadarValues(PLAYER_1);
					local P1Hands = Getp1Radar:GetValue('RadarCategory_Mines');
					self:settext(P1Hands);
				else
					self:settext("")
				end
			else
				self:settext("")
			end
         end
};

return t